package com.test.demo.mydubbo.consumer;

import com.test.demo.mydubbo.framework.protocol.DataFormater;
import com.test.demo.mydubbo.framework.protocol.ProxyFactory;
import com.test.demo.mydubbo.provider.service.DemoService;

public class ConsumerClient {

    public static void main(String[] args) {
        DemoService demoService = ProxyFactory.getProxy(DemoService.class);
        String result = demoService.sayHello("Jewel");
        System.out.println(result);
    }
}
